#pragma once

#include "VQControl.h"

class VQColorButton : public VQControl {
protected:
	COLORREF _c;
	HBRUSH _brush;

public:
	VQColorButton( int x, int y, int w, int h );
	~VQColorButton(void);

	void draw( HDC hdc );
	void action( HWND Wnd );
	void setColor( COLORREF c ) { _c = c; _brush = CreateSolidBrush( c ); }
	COLORREF getColor() { return _c; }
};

